const cart={
    namespaced: true,
    state: {
        carts:[]//购物小车的数据     
    },
    mutations: {
        addToCarts:function(state,product){
            state.carts.push(product)
        }
    },
    getters: {
        
    },
    actions: {
        
    },
    // modules: {
        
    // },
}
export default cart;